import * as actionTypes from '../constants/market';

const initialState = {
  allTicker: {}
};

export default (state = initialState, action) => {

  switch (action.type) {
    case actionTypes.GET_ALL_TICKER:
      return {...state, allTicker: action.data};

    default:
      return state;
  }

}